#ifndef HEXPARSER_H
#define HEXPARSER_H

#include "qstring.h"
#include <cstdint>

class HexParser
{
public:
    HexParser();
    bool ParseHex(QString filePath, uint32_t *Addr, uint32_t *Size, uint8_t *pData);

public:
    uint8_t dataBytes;
    uint16_t currAddrs;
    uint8_t recordType;
    uint8_t lineData[0x20];
    uint32_t firtAddrs;
    uint8_t chechSum;

};

#endif // HEXPARSER_H
